Information processing apparatus processing print setting, control method, and control program

ABSTRACT

An information processing apparatus generates print data by executing a printer driver based on an instruction issued by an application operating in an operating system. The information processing apparatus includes an eliminating unit configured to eliminate conflict or inconsistency of a print setting based on conflict eliminating information for eliminating conflict of a setting to be input to the printer driver under control of an application which processes the print setting, and an input unit configured to input a print setting obtained after conflict is eliminated by the eliminating unit to the printer driver using the application.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a Continuation of U.S. patent application Ser. No.17/571,779, filed Jan. 10, 2022, which is a Continuation of U.S. patentapplication Ser. No. 16/450,747, filed Jun. 24, 2019, now U.S. Pat. No.11,275,540, which claims the benefit of Japanese Patent Application No.2018-125176, filed Jun. 29, 2018, and Japanese Patent Application No.2019-093739, filed May 17, 2019, all of which are hereby incorporated byreference herein in their entirety.

BACKGROUND OF THE INVENTION Field of the Invention

The present invention relates to an information processing apparatus, amethod for controlling the information processing apparatus, and acontrol program. The present invention relates to a system whichprocesses a print setting, for example.

Description of the Related Art

Software for controlling an image forming apparatus may be configuredsuch that printing is instructed to the image forming apparatusconnected to a host computer using a printer driver installed in thehost computer. An operating system (OS) which is basic software isinstalled in the host computer, and the printer driver is configured inaccordance with a specification specified by the OS. Venders whichprovide such an image forming apparatus may obtain a unit which issues aprint instruction to the image forming apparatus by providing a printerdriver suitable for the specification of the OS.

However, in recent years, the OS provides a general printer driver so asto provide a unit which issues a print instruction using anindustry-standard protocol.

In general, prohibition information may be incorporated in the printerdriver only if the printer driver is provided by a printer vender.

SUMMARY OF THE INVENTION

According to an aspect of the present invention, an informationprocessing apparatus generates print data by executing a printer driverbased on an instruction issued by an application operating in anoperating system. The information processing apparatus includes aneliminating unit configured to eliminate conflict or inconsistency of aprint setting based on conflict eliminating information for eliminatingconflict of a setting to be input to the printer driver under control ofan application which processes the print setting, and an input unitconfigured to input a print setting obtained after conflict iseliminated by the eliminating unit to the printer driver using theapplication.

Further features of the present invention will become apparent from thefollowing description of exemplary embodiments with reference to theattached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram illustrating a system configuration.

FIG. 2 is a diagram illustrating an example of a hardware configurationof a client computer.

FIG. 3 is a diagram illustrating an example of a software configurationof the client computer.

FIG. 4 is a flowchart of an example of a process performed by a generalprinter driver or the like according to a first embodiment.

FIG. 5 is a flowchart of an example of a print setting process performedby the general printer driver according to the first embodiment.

FIG. 6 is a flowchart of an example of a process of an extended printapplication according to the first embodiment.

FIG. 7 is a flowchart of an example of the process of the extended printapplication according to the first embodiment.

FIG. 8 is a flowchart of an example of a process of an extended printapplication according to a second embodiment.

FIG. 9 is a flowchart of an example of the process of the extended printapplication according to the second embodiment.

FIGS. 10A and 10B are diagrams schematically illustrating examples ofuser interfaces (UIs) of a touch panel and a general printer driver.

FIGS. 11A and 11B are diagrams schematically illustrating an example ofan extended print setting UI.

FIG. 12 is a diagram illustrating an example of prohibition information.

DESCRIPTION OF THE EMBODIMENTS

Preferred embodiments of the present invention will be describedhereinafter with reference to the accompanying drawings.

First Embodiment

First, a configuration of a system according to a first embodiment willbe described with reference to FIG. 1 . FIG. 1 is a diagramschematically illustrating a system configuration according to thisembodiment. The system of this embodiment includes a client computer101, a server 104, and a printer 102. The client computer 101 is anexample of an information processing apparatus. The server 104 deliversdata to the client computer 101. The printer 102 receives print data ofa page description language (PDL) format and performs printing. Theapparatuses may communicate with one another through a network 103including a wide area network (WAN). Note that the printer 102 may be asingle function printer only including a print function or amultifunction printer including a print function, a scan function, and acopy function. Furthermore, only a single client computer 101 or aplurality of client computers 101 may be connected to the network 103.

FIG. 2 is a block diagram illustrating a hardware configuration of theclient computer 101 of FIG. 1 . In the client computer 101, a centralprocessing unit (CPU) 201 controls various devices connected to a systembus in accordance with programs stored in a random access memory (RAM)202. Note that the client computer 101 includes at least one CPU 201.Furthermore, when the CPU 201 executes processes based on programsstored in an external memory 209, a software configuration of the clientcomputer 101 and processes of steps in flowcharts described below arerealized. The RAM 202 functions as a main memory, a work area, and thelike of the CPU 201. A read only memory (ROM) 203 includes variousprograms, such as a boot program and a basic input/output system (BIOS)written therein. An operation input device interface (I/F) 204 controlsan operation input device 205 including a keyboard, a pointing device (amouse), or a touch user interface (UI). The operation input device 205functions as a reception unit which receives a user operation. A displayI/F 206 controls screen display on a display 207. The display 207functions as a display unit which displays information for a user. Anexternal memory I/F 208 controls access to the external memory 209, suchas a hard disk (HD) or a solid state disc (SSD). The external memory 209stores, in addition to an operating system program (OS) 210, anapplication execution environment 213, various applications 212 for atouch panel and a desktop, various files, and the like. Then theexternal memory 209 functions as a storage medium which is readable bythe client computer 101. A network I/F 215 is connected to the printer102 through the network 103 and performs a communication controlprocess. Note that the server 104 also has the same hardwareconfiguration as the client computer 101 and similarly operates. Thevarious applications 212 illustrated in FIG. 2 at least includes anextended print application 300, a desktop application 302, and a touchapplication 301 illustrated in FIG. 3 . A printer driver 211 includes ageneral printer driver 320. Commands of the plurality of programs areread to the RAM 202 and executed under control of the CPU 201. Thenprocesses of the flowcharts described below illustrated with referenceto the drawings are executed.

FIG. 3 is a block diagram illustrating a print system according to thisembodiment. The user executes a print process using the desktopapplication 302 or the touch application 301. In the print process,three processes including selection of a printer, generation of a printsetting, and conversion of rendering data are executed in this order.

In this embodiment, software included in the client computer 101 isconfigured by the various applications, such as the desktop application302, the touch application 301, and the extended print application 300.The software operates in the OS 210. Various configurations will bedescribed hereinafter. The OS 210 may include a print manager 331, anI/O monitor 332, an XPS spool file 330, and a registry 323. A generalprint management unit 321 manages control of various modules in ageneral print driver described below and transmission and reception ofdata. The general print management unit 321 further performs generationand a change of print setting information. The registry 323 is a regionincluding a setting group of the OS 210 described therein. The printmanager 331 manages schedule of the print process. The I/O monitor 332communicates with the printer 102. A general print setting UI 322performs a setting and a change of print associated with a generalprinter driver. A GDI to XPS conversion processing unit 328 convertsrendering data to be printed by the desktop application 302 into an XPSso as to generate the XPS spool file 330 to be supplied to a spoolerincluded in the OS 210. A rendering processing unit 329 renders the XPSspool file 330 and converts the XPS spool file 330 into PDL. The touchapplication 301 is selected by the user through an application deliverysystem disclosed on the Internet and installed in the client computer101. The extended print application 300 which is a type of the touchapplication 301 is obtained by the OS 210 through the Internet using theapplication delivery system and is installed in the client computer 101.An application data region 307 stores data to be uniquely used for eachapplication. Note that the application data region 307 may be accessedonly by a corresponding application. A prohibition informationpresence/absence determination module 344 determines whether prohibitioninformation 340 of the printer 102 associated with the extended printapplication 300 has been stored in the application data region 307. Aprohibition information storing module 341 stores the prohibitioninformation 340 of the printer 102 associated with the extended printapplication 300 in the application data region 307. Different types ofthe printer 102 may be connected as illustrated in FIG. 3 , and in thiscase, the prohibition information 340 is stored in the application dataregion 307 for each printer. A tile application unit 303 displays a UIof a tile form in response to a user operation for activating theextended print application 300. An extended print setting UI unit 306displays a UI for an extended print setting in response to a receptionof an extended print setting event issued by the OS 210. The extendedprint setting UI unit 306 generates a UI for an extended print settingbased on print setting information supplied from the OS 210 and printfunctionality information uniquely obtained through communication withthe printer 102. The extended print setting UI unit 306 returns theprint setting information to the OS 210 after changing a value of theprint setting information in accordance with a user input. A print-timeactivated application 304 provides a function of executing a processassociated with print, which is referred to as a workflow (WF), inresponse to a predetermined user operation or the like. Furthermore, theprint-time activated application 304 is a background task for activatingan edit/preview function unit 305 which is a foreground task when aprint event is issued by the OS 210. The print-time activatedapplication 304 issues a request for activating the edit/previewfunction unit 305 to the OS 210. Furthermore, the print-time activatedapplication 304 performs transmission and reception of the print settinginformation with the edit/preview function unit 305 through theapplication data region 307. The edit/preview function unit 305 obtainsthe print setting information and changes a setting. In this embodiment,the edit/preview function unit 305 also performs obtainment and storageof the prohibition information 340 and a prohibition determinationprocess. FIG. 12 is a diagram illustrating a text file including adefinition of a print function and invalid combination of functionsdescribed therein. The text file is an example of the prohibitioninformation 340.

A prohibition information obtaining module 342 obtains printfunctionality information, the prohibition information 340, and the likefrom the target printer 102 or a cloud server 105 through a deviceconnection module 308 and a cloud connection module 309. The deviceconnection module 308 communicates with the printer 102. The cloudconnection module 309 communicates with the predetermined cloud server105. A prohibition determination module 343 determines whether conflictoccurs in the print setting using the prohibition information 340relative to an input of the print setting.

Next, a mechanism in which the prohibition determination process of aprint setting which may not be performed by the general printer driveris performed by the extended print application 300 will be describedwith reference to FIGS. 4 to 7 . The CPU 201 is an example of a storagecontrol unit.

Note that the applications and the modules are stored in the externalmemory 209, loaded to the RAM 202 where appropriate, and executed by theCPU 201 included in the client computer 101. A flow of FIG. 4 is startedwhen a print setting request event is generated by a predeterminedapplication. Examples of the predetermined application include aspreadsheet, a document editing application, and a paint application,but the application is not limited to these. The predeterminedapplication may be included in the applications 212 of FIG. 2 . Notethat the application which causes the print setting request event may bethe touch application 301 or the desktop application 302.

In this embodiment, a case where the touch application 301 (FIG. 10 ) isused will be described. FIG. 10A is a diagram schematically illustratingthe touch application 301 which has been activated. The touchapplication 301 displays a list of options in a menu when a menu iconbutton 1000 is tapped. Subsequently, when a print item 1001 which is oneof the options in the menu is selected by a user operation, the touchapplication 301 transmits a request for displaying a UI of the generalprinter driver to the OS 210 and displays the general print setting UI322. FIG. 10B is a diagram illustrating the general print setting UI 322of the general printer driver 320 which is generated by the OS 210. Thegeneral print setting UI 322 includes a print setting section 1020 andan event generation section 1030. A simple list of print settings isdisplayed in the print setting section 1020. An item 1021 is a name of aprint queue which is being selected, and an item 1022 is an example of aprint setting which has been set. The general print setting UI 322accepts a user operation after the display. This process corresponds tostep S403. A print button 1032 of the event generation section 1030 ispressed (S406). In this way, a print event is generated. The print eventcauses a process in step S407. Hereinafter, the process will bedescribed in detail with reference to the flow.

The flow of FIG. 4 is started when the general printer driver 320receives a user's instruction through an application, for example.Specifically, the process in step S401 is started when the print item1001 which is one of the options in the menu is selected, for example.The flow of FIG. 4 may be controlled by the general printer driver 320.The user's instruction may be input through the OS 210 to the generalprint setting UI 322.

First, the general print setting UI 322 is activated in step S401. Instep S402, the general print management unit 321 of the general printerdriver 320 initializes print setting information. In step S403, thegeneral printer driver 320 receives an input of a print settingperformed by the user through the general print setting UI 322 of thegeneral printer driver 320. When the general printer driver 320 detectsa press of a button 1031 indicating “other settings” in step S404, theextended print application 300 executes the extended print settingprocess in step S405. This process fulfills an important role and willbe described hereinafter with reference to FIG. 5 . After the extendedprint setting UI unit 306 of the extended print application 300 returnsto the general print setting UI 322 of the general printer driver 320,the process proceeds to step S406. When the general printer driver 320detects a press of a “print” button in step S406, the print settinginformation is supplied to the OS 210 and the print setting requestprocess is terminated in step S407.

Next, an operation of the extended print setting process performed bythe extended print application 300 will be described with reference toFIG. 5 .

In a flow of FIG. 5 , step S501 is started when the user presses thebutton 1031 indicating “other settings” and the general printer driver320 issues a request for activating the extended print setting UI unit306 of the extended print application 300 to the OS 210. The flow ofFIG. 5 may be caused under control of the extended print application300. The extended print application 300 is an example of a controlprogram.

In step S501, the extended print setting UI unit 306 of the extendedprint application 300 is activated by the OS 210. An example of theextended print setting UI unit 306 will be described with reference toFIGS. 11A and 11B. A reference numeral 1101 indicates an example of theextended print setting UI unit 306, reference numerals 1102 and 1103indicate various print functions, and options and ON or OFF are selectedby toggling portions 1104 and 1105. A button “OK” 1106 is used to returnfrom the extended print setting UI unit 306 to the general print settingUI 322. In step S502, the extended print application 300 receives theprint setting information set by the general printer driver 320 from theOS 210. In step S503, the extended print setting UI unit 306 of theextended print application 300 determines whether the application dataregion 307 includes the prohibition information 340 using theprohibition information presence/absence determination module 344. Whenthe determination is negative, the device connection module 308 of theextended print application 300 obtains the prohibition information 340from the printer 102 in step S504. In step S505, the prohibitioninformation storing module 341 of the extended print application 300stores the prohibition information 340 obtained through the prohibitioninformation obtaining module 342 in the application data region 307. Instep S506, the extended print setting UI unit 306 of the extended printapplication 300 obtains the prohibition information 340 stored in theapplication data region 307. In step S507, an input of a print settingperformed by the user is received through the extended print setting UIunit 306. In step S508, the extended print setting UI unit 306 performsa prohibition determination process on the input of the print settingthrough the prohibition determination module 343 using the prohibitioninformation 340. In step S509, the extended print setting UI unit 306branches the process in accordance with a result of the prohibitiondetermination process. When conflict occurs in the print setting, theextended print setting UI unit 306 returns the print setting to theprint setting before the change in step S510. Thereafter, the extendedprint application 300 receives an input of a print setting performed bythe user through the extended print setting UI unit 306 again in stepS507. For example, in the schematic diagram of FIGS. 11A and 11B, whenthe user selects “postcard” in the portion 1104 as an output sheet size1102 and intends to turn on a both-sided print setting 1103 in theportion 1105, the extended print setting UI unit 306 performs theprohibition determination process using the prohibition determinationmodule 343. In this case, since the conflict has occurred in the printsetting, the extended print setting UI unit 306 returns the setting ofthe both-sided print to OFF which is the setting before the change,displays an alert screen 1110, and returns to the UI for receiving aninput of the print setting after an input of an OK button 1111 performedby the user is received. When the conflict has not occurred in the printsetting, the process proceeds to step S511. In step S511, the extendedprint setting UI unit 306 determines whether the “OK” button 1106 hasbeen pressed. When the extended print application 300 has detected apress of the “OK” button 1106 in step S511, the print settinginformation is updated in step S512. In step S513, the extended printapplication 300 transmits the print setting information to the OS 210,terminates the extended print setting process, and returns to thegeneral print setting UI 322.

When the print setting performed by the general printer driver 320 isdetermined, the user executes a print process using an application. In acase where printing is performed using the desktop application 302,rendering data is supplied to the GDI to XPS conversion processing unit328 and the XPS spool file 330 is generated. Here, the GDI to XPSconversion processing unit 328 calls the general print management unit321 so that a format of the print setting information which is unique tothe OS 210 is converted into a format of general print (for example, aDEVMODE structure is converted into PrintTicket). In a case whereprinting is performed using the touch application 301, a method forgenerating an XPS file by the touch application 301 or a method forgenerating an XPS file by the OS 210 in accordance with an instructionissued by the touch application 301 is employed. In both of the methods,the XPS spool file 330 is generated.

An operation performed when a print request is received from the touchapplication 301 will be described with reference to FIG. 6 .

In a flow of FIG. 6 , step S601 is started when a print event is startedby pressing the print button 1032 as an instruction issued by the userso that the XPS spool file 330 is generated.

When the XPS spool file 330 is generated, the process is temporarilypassed to the OS 210 and the OS 210 reads a setting of the registry 323in step S601. In step S602, the OS 210 determines whether activation ofthe print-time activated application 304 has been set in the registry323. When the determination is negative, the OS 210 passes the processto the general printer driver 320. Thereafter, a rendering process in anext state is started in step S604. When the determination isaffirmative, an edit/preview process of the extended print application300 is started in step S603. Note that the process in step S603 will bedescribed in detail hereinafter with reference to FIG. 7 . The processin step S603 is performed by the extended print application 300. In stepS604, the OS 210 passes the process to the general printer driver 320.By this, a process of the rendering processing unit 329 is started. Instep S604, the rendering processing unit 329 renders the XPS spool file330 so as to convert the XPS spool file 330 into PDL. Furthermore, atthis time, print setting data is also converted from the print settinginformation of the OS-unique format into print setting information ofindustry standard. In step S605, the process is passed to the OS 210again. The OS 210 reads the setting in the registry 323. In step S606,the OS 210 determines whether activation of the print-time activatedapplication 304 has been set in the registry 323. When the determinationis negative, the process proceeds to a PDL transmission process in anext stage in step S608. When the determination is affirmative, theprocess proceeds to a process of editing and previewing the extendedprint application in step S607. Note that the process in step S603 isalso described in detail hereinafter with reference to FIG. 7 . In stepS608, the general print management unit 321 transmits the PDL data tothe print manager 331 which performs schedule management of the printprocess, and print jobs are successively registered in a queue. When theprinter 102 becomes available for printing, the PDL data is transmittedthrough the I/O monitor 332 in order of PDL data registered in thequeue.

Next, the process of editing and previewing the extended printapplication will be described in detail with reference to FIG. 7 .

In a flow of FIG. 7 , step S701 is started when the OS 210 issues aninstruction for activating the extended print application 300. Here, theOS 210 determines whether activation is to be performed in accordancewith information in the registry 323. When the determination isaffirmative, the OS 210 issues an activation instruction.

In step S701, the print-time activated application 304 of the extendedprint application 300 is activated by the OS 210. In step S702, theprint-time activated application 304 receives the print settinginformation from the OS 210. In step S703, the print-time activatedapplication 304 activates the edit/preview function unit 305 andtransmits the print setting information to the edit/preview functionunit 305. In step S704, the edit/preview function unit 305 determineswhether the application data region 307 includes the prohibitioninformation 340 through the prohibition information presence/absencedetermination module 344. When the determination is negative, theprohibition information obtaining module 342 of the extended printapplication 300 obtains the prohibition information 340 from the printer102 in step S705. Thereafter, in step S706, the prohibition informationstoring module 341 stores the obtained prohibition information 340 inthe application data region 307. In step S707, the extended printapplication 300 obtains the prohibition information 340 stored in theapplication data region 307. In step S708, an input of a print settingperformed by the user is received through a UI of the edit/previewfunction unit 305. In step S709, the extended print application 300performs the prohibition determination process on the input of the printsetting through the prohibition determination module 343 using theprohibition information 340. In step S710, the extended printapplication 300 branches the process in accordance with a result of theprohibition determination process. When conflict has occurred in theprint setting, the edit/preview function unit 305 of the extended printapplication 300 returns the print setting to the print setting beforethe change in step S711. Then, in step S708, an input of a print settingperformed by the user is received again through the UI of theedit/preview function unit 305. When the conflict has not occurred inthe print setting, the process proceeds to step S712. In step S712, theextended print application 300 determines whether the “OK” button 1106has been pressed. When the edit/preview function unit 305 of theextended print application 300 detects a press of the “OK” button 1106in step S712, the print setting information is updated in step S713. Instep S713, the extended print application 300 transmits the printsetting information to the OS 210, terminates the edit/preview function,and returns to the processing flow of FIG. 6 .

As described above, according to this embodiment, the extended printapplication 300 performs a determination as to whether the prohibitioninformation exists at the following timings. For example, thedetermination is performed at a timing when the extended print settingUI unit 306 is activated in the print setting request process.Alternatively, the determination is performed at a timing when theedit/preview function unit 305 is activated in the print requestprocess. The determination as to whether the prohibition information 340is included in the application data region 307 is made at these timings.When the prohibition information 340 is not included, the prohibitioninformation 340 is obtained from the printer 102 and stored in theapplication data region 307. Then the prohibition determination processis performed using the obtained prohibition information 340. Therefore,even in printing using the general printer driver 320, a prohibitionprocess unique to a printer vender or a printer may be performed.

Second Embodiment

In the first embodiment, the mechanism of a determination as to whetherthe prohibition information 340 is included and an obtainment of theprohibition information 340 which are performed at a time of activationof the extended print setting UI unit 306 of the extended printapplication 300 and at a time of activation of the edit/preview functionunit 305 of the extended print application 300 in the print settingprocess and the print process has been described.

In a second embodiment, a mechanism of a determination as to whetherprohibition information 340 is included in an application data region307 and an obtainment of the prohibition information 340 from a printer102 using a tile application unit 303 which is another function of anextended print application 300 will be described.

A process according to this embodiment will be described in detail withreference to FIG. 8 . Note that applications and modules are stored inan external memory 209, loaded to a RAM 202 where appropriate, andexecuted by a CPU 201 included in a client computer 101. Furthermore,detailed descriptions of components having reference numerals which havebeen described are omitted.

In a flow of FIG. 8 , step S801 is started when a user directlyactivates the extended print application 300.

First, in step S801, a tile application unit 303 of the extended printapplication 300 is activated. In step S802, the tile application unit303 of the extended print application 300 determines whether anapplication data region 307 includes the prohibition information 340through a prohibition information presence/absence determination module344. When the determination is negative, a prohibition informationobtaining module 342 of the extended print application 300 obtains theprohibition information 340 from the printer 102 in step S803.Thereafter, in step S804, a prohibition information storing module 341of the extended print application 300 stores the obtained prohibitioninformation 340 in the application data region 307.

As described above, according to this embodiment, the extended printapplication 300 may determine whether the application data region 307includes the prohibition information 340 and obtain the prohibitioninformation 340 from the printer 102 also in the case where the tileapplication unit 303 is used. Therefore, in a case where the tileapplication unit 303 is used, a burdensome operation of separatelyobtaining the prohibition information 340 from the printer 102 when theprint setting process or the print process is performed may be omitted.The process of FIG. 8 may update or add the prohibition information 340by activating the extended print application 300 asynchronous to orindependently from processes other than the process in FIG. 8 accordingto this embodiment.

Third Embodiment

In the first embodiment, the mechanism of an obtainment of theprohibition information 340 by the extended print application 300 fromthe printer 102 has been described.

In a third embodiment, a mechanism of an obtainment of prohibitioninformation 340 from a location other than a printer body will bedescribed. Hereinafter, portions different from the foregoing embodimentwill be mainly described.

A process according to this embodiment will be described in detail withreference to FIG. 9 . Note that applications and modules are stored inan external memory 209, loaded to a RAM 202 where appropriate, andexecuted by a CPU 201 included in a client computer 101. Furthermore,detailed descriptions of components having reference numerals which havebeen described are omitted. Furthermore, although examples of anextended print setting UI unit 306 and an edit/preview function unit 305are illustrated in this embodiment, the same mechanism may be attainedwhen a tile application unit 303 is employed as illustrated in thesecond embodiment. Note that a process performed by a general printerdriver 320 before and after an extended print setting is performed by anextended print application 300 is the same as the process from step S401to step S407 of FIG. 4 , and therefore, a detailed description thereofis omitted. In a flow of FIG. 9 , step S901 is started when a userpresses a button 1031 indicating “other settings” and the generalprinter driver 320 issues a request for activating an extended printsetting UI unit 306 of the extended print application 300 to the OS 210.

In step S901, the extended print setting UI unit 306 of the extendedprint application 300 is activated by the OS 210. In step S902, aprint-time activated application 304 receives print setting informationfrom the OS 210. In step S903, the extended print setting UI unit 306 ofthe extended print application 300 determines whether an applicationdata region 307 includes the prohibition information 340 through aprohibition information presence/absence determination module 344. Whenthe determination is negative, a prohibition information obtainingmodule 342 of the extended print application 300 obtains the prohibitioninformation 340 from the printer 102 in step S904. In step S905, aprohibition information storing module 341 of the extended printapplication 300 determines whether the prohibition information 340 hasbeen successfully obtained from the printer 102. When the determinationis negative, a prohibition information obtaining module 342 of theextended print application 300 obtains the prohibition information 340corresponding to the printer 102 from a predetermined cloud server instep S906. Thereafter, in step S907, the prohibition information storingmodule 341 of the extended print application 300 stores the obtainedprohibition information 340 in an application data region 307. In stepS908, the extended print application 300 obtains the prohibitioninformation 340 stored in the application data region 307. Note that theprocess from step S909 to step S915 is the same as that from step S507to step S513 of FIG. 5 , and therefore, a detailed description thereofis omitted.

As described above, according to this embodiment, the extended printapplication 300 may obtain the prohibition information 340 also from alocation other than a printer body. Therefore, even in a case where theprohibition information 340 is not stored in the printer body, such as acase where the date of production of the printer is old or a case of alow-priced printer, the extended print application 300 may obtain theprohibition information 340 and perform a prohibition process.

This embodiment is summarized as follows. The information processingapparatus generates print data by executing a printer driver based on aninstruction issued by an application operating in an operating system.An example of the information processing apparatus is the clientcomputer 101.

An example of the application which processes a print setting is theextended print application 300. For example, conflict or inconsistencyof a print setting is eliminated based on the prohibition information340 for eliminating conflict of a setting to be input to a printerdriver under control of the touch application 301. An example ofconflict eliminating information is the prohibition information 340. Theprint setting obtained after conflict is eliminated is input to theprinter driver from the extended print application 300. An example ofthe printer driver is the general printer driver 320.

Furthermore, the determination as to whether the conflict eliminatinginformation is included in the application data region 307 is made. Anexample of an image forming apparatus is the printer 102. The deviceconnection module 308 obtains the conflict eliminating information fromthe printer 102. Furthermore, the CPU 201 stores the conflicteliminating information obtained by the device connection module 308 inthe application data region 307.

The extended print application 300, for example, eliminates conflict ofthe print setting using the prohibition information 340 stored in theapplication data region 307.

The extended print application 300 is executed at the following timings,for example. Specifically, the extended print application 300 isexecuted at a timing when the tile application unit 303 is activated orat a timing when a user interface program for an extended print settingis activated. Alternatively, the extended print application 300 isexecuted at a timing when the edit/preview function unit 305 isactivated.

In a case where prohibition information may not be obtained from theprinter 102, conflict eliminating information may be obtained from apredetermined external information processing apparatus. An example ofthe external information processing apparatus is the cloud server 105.

An example of the operating system is the OS 210. Furthermore, printdata may be generated by executing the general printer driver based onan instruction issued by the document editing application operating inthe OS 210. Then the extended print application 300 receives apredetermined event caused by the general printer driver 320. Theextended print application 300 performs the following process after thereceiving unit receives a predetermined event caused by the generalprinter driver 320. Specifically, the extended print application 300 isexecuted by the CPU 201. Then, conflict or inconsistency of a printsetting is eliminated based on the conflict eliminating information foreliminating conflict of a setting to be input to a printer driver undercontrol of the extended print application 300. The extended printapplication 300 is an example of an application which processes thepredetermined extended print setting.

Then the print setting obtained after the conflict is eliminated isinput to the printer driver from the extended print application 300.

As described above, this embodiment discusses the following solutions.There is a demand for reducing a portion depending on peripherals from ageneral OS or a general device driver so that a platform environmentwhich is compatible with mobile devices including smartphones andtablets is created. In such a platform environment, there arises aproblem in that it is difficult to incorporate the process which dependson specifications of peripherals in the general OS or the general devicedriver. However, this problem may be solved. Furthermore, there arises aproblem in that it is difficult to incorporate a process and datarequired for a prohibition process of a printer driver or the like inthe general OS or the general device driver. However, this problem maybe solved.

According to the embodiments, a mechanism for removing the process whichdepends on specifications of peripherals from the general OS or thegeneral device driver may be provided.

For example, a mechanism associated with a platform environment which iscompatible with mobile devices including smartphones and tablets, forexample, may be provided.

OTHER EMBODIMENTS

Embodiment(s) of the present invention can also be realized by acomputer of a system or apparatus that reads out and executes computerexecutable instructions (e.g., one or more programs) recorded on astorage medium (which may also be referred to more fully as a‘non-transitory computer-readable storage medium’) to perform thefunctions of one or more of the above-described embodiment(s) and/orthat includes one or more circuits (e.g., application specificintegrated circuit (ASIC)) for performing the functions of one or moreof the above-described embodiment(s), and by a method performed by thecomputer of the system or apparatus by, for example, reading out andexecuting the computer executable instructions from the storage mediumto perform the functions of one or more of the above-describedembodiment(s) and/or controlling the one or more circuits to perform thefunctions of one or more of the above-described embodiment(s). Thecomputer may comprise one or more processors (e.g., central processingunit (CPU), micro processing unit (MPU)) and may include a network ofseparate computers or separate processors to read out and execute thecomputer executable instructions. The computer executable instructionsmay be provided to the computer, for example, from a network or thestorage medium. The storage medium may include, for example, one or moreof a hard disk, a random-access memory (RAM), a read only memory (ROM),a storage of distributed computing systems, an optical disk (such as acompact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™),a flash memory device, a memory card, and the like.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

What is claimed is:
 1. An information processing apparatus whichgenerates print data by executing a printer driver based on aninstruction issued by an application operating in an operating system,the information processing apparatus comprising: an eliminating unitconfigured to eliminate conflict or inconsistency of a print settingbased on conflict eliminating information for eliminating conflict of asetting to be input to the printer driver under control of anapplication which processes the print setting; and an input unitconfigured to input a print setting obtained after conflict iseliminated by the eliminating unit to the printer driver using theapplication.